﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace RestFulService
{
    //返回会员信息
    public class JAVAMemberInfo
    {
        /// <summary>
        /// 
        /// </summary>
        public string code { get; set; }
        /// <summary>
        /// 成功
        /// </summary>
        public string msg { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public Content content { get; set; }

        public class Content
        {
            /// <summary>
            /// 
            /// </summary>
            public string memberno { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public string membername { get; set; }
            /// <summary>
            /// 会员等级
            /// </summary>
            public string membergrade { get; set; }
            /// <summary>
            /// 会员积分
            /// </summary>
            public int memberintegral { get; set; }
            /// <summary>
            /// 会员卡余额
            /// </summary>
            public decimal cardamount { get; set; }
            /// <summary>
            /// 会员生日
            /// </summary>
            public string memberbirthday { get; set; }
            /// <summary>
            /// 卡有效期
            /// </summary>
            public string cardterm { get; set; }
            /// <summary>
            /// 优惠方式名称
            /// </summary>
            public string discname { get; set; }
            /// <summary>
            /// 优惠方式:1:会员折扣,2:会员特价
            /// </summary>
            public int discmode { get; set; }
            /// <summary>
            /// 折扣比率
            /// </summary>
            public decimal discamount { get; set; }
            /// <summary>
            /// 消费次数
            /// </summary>
            public int purchaseqty { get; set; }
            /// <summary>
            /// 消费金额
            /// </summary>
            public decimal purchaseamt { get; set; }

        }

    }
}
